package cn.northsea.pojo;

import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;
import org.springframework.stereotype.Component;

import java.util.Date;

@Component
@Data
public class Product {
    private Integer productId;//产品id
    private String productName;//产品名称
    private String productSize;//产品尺寸

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createAt; //创建时间
    private String productCategoryId;//产品类型id
    private Integer deleted;//删除状态
    private Double productMoney;//产品价格
}
